﻿using WpfApp1.Acme.ApplicationClass;

namespace WpfApp1.Acme.Template {
    /// <summary>
    /// Bean的实例化，实例化前，实例化后扩展
    /// </summary>
    internal interface BeanInstantiation {
        /// <summary>
        /// 实例化前
        /// </summary>
        /// <param name="beanDefinition">Bean定义类</param>
        /// <returns></returns>
        BeanDefinition beanInstantiationBefore(BeanDefinition beanDefinition);
        /// <summary>
        /// 实例化后
        /// </summary>
        /// <param name="beanDefinition">Bean定义类</param>
        /// <returns></returns>
        BeanDefinition beanInstantiationAfter(BeanDefinition beanDefinition);
    }
}
